﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="cropAvatarPopup.ascx.cs" Inherits="NCT.Web.Frontend.Modules.User.Profile.CropAvatarBoxControl" %>
<% if (SelectedImage != null) { %>
    <div id="image-box">
        <div class="image">
                <img id="cropbox" src="<%=(AppSettings.ImageStoreUploadServer + SelectedImage.FileName) %>" title="<%=SelectedImage.Description %>" />
                <div class="footer">
                    <span class="tip" id="image-box-tip">Điều chỉnh vị trí và kích thước avatar trong hình trên</span>
                    <input type="button" class="image-choose-cancel" id="btn-Choose-Cancel" />
                    <input type="button" class="image-choose-done" id="btn-Choose-Done" />
                    <img id="ajaxloader" style="padding-top:10px; float:right; display: none" src="<%=AppSettings.ResourcesPath %>/images/ajax-loader.gif" alt="đang tải" />
                </div>
                <input id="imageId" name="imageId" type="hidden" value="<%=SelectedImage.ID %>" />
                <input id="x" name="x" type="hidden" value="0" />
                <input id="y" name="y" type="hidden" value="0" />
                <input id="w" name="w" type="hidden" value="0" />
                <input id="h" name="h" type="hidden" value="0" />
        </div>
    </div>
<% } %>